package BusinessDelegatePattern;

/**
 * @Author: zheng
 * @CreateTime: 2022-08-27  00:21
 * @Description:
 * @Version: 1.0
 */
public class Client {

    BusinessDelegate businessService;

    public Client(BusinessDelegate businessService){
        this.businessService  = businessService;
    }

    public void doTask(){
        businessService.doTask();
    }
}
